package de.g18.it0a.jlaser.domain;

import java.awt.Rectangle;
import java.awt.Shape;


public class Mirror extends AbstractFixture {

    private Position pointedPosition;


    public Mirror(Position aPosition) {
        super(aPosition);
    }

    public void setPointedPosition(Position aPointedPosition) {
        pointedPosition = aPointedPosition;
    }

    public Position getPointedPosition() {
        return pointedPosition;
    }

    @Override
    protected Shape buildRepresentation() {
        return new Rectangle(0, 0);
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + "[position=" + getPosition()
                                          + ",isSolid=" + isSolid()
                                          + ",pointedPosition=" + pointedPosition +"]";
    }
}
